/**
 * 
 */
package com.samulegao.android.pis;

import android.net.Uri;
import android.provider.BaseColumns;

/**
 * @author zhanfeng.gss
 *
 */
public final class ToDos {
	public static final String AUTHORITY = "com.samuelgao.android.pis.todoprovider";
	
	private ToDos(){}
	
	public static final class ToDoColumn implements BaseColumns{
		private ToDoColumn(){}
		
		public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/todos");
		
		public static final String CONTENT_TYPE = "vnd.android.cursor.dir/todo";
		
        public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/todo";
        
        public static final String TITLE = "title";
        public static final String DESC = "desc";
        public static final String CREATED_DATE = "created";
        public static final String MODIFIED_DATE = "modified";
        public static final String DEADLINE_TIME = "deadline";
        public static final String FINISH = "finish";
        
        public static final String DEFAULT_SORT_ORDER = DEADLINE_TIME+ " ASC";
	}

}
